﻿using System;

namespace Ha666.Common
{
    [Serializable]
    public class RDSTrade
    {
        #region Model
        private long _tid;
        private string _status;
        private string _type;
        private string _seller_nick;
        private string _buyer_nick;
        private DateTime? _created;
        private DateTime? _modified;
        private string _jdp_hashcode;
        private string _jdp_response;
        private DateTime? _jdp_created;
        private DateTime? _jdp_modified;
        /// <summary>
        /// 订单编号
        /// </summary>
        public long tid
        {
            set { _tid = value; }
            get { return _tid; }
        }
        /// <summary>
        /// 订单状态
        /// </summary>
        public string status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 订单类型
        /// </summary>
        public string type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 卖家昵称
        /// </summary>
        public string seller_nick
        {
            set { _seller_nick = value; }
            get { return _seller_nick; }
        }
        /// <summary>
        /// 买家昵称
        /// </summary>
        public string buyer_nick
        {
            set { _buyer_nick = value; }
            get { return _buyer_nick; }
        }
        /// <summary>
        /// 订单创建时间
        /// </summary>
        public DateTime? created
        {
            set { _created = value; }
            get { return _created; }
        }
        /// <summary>
        /// 订单最后修改时间
        /// </summary>
        public DateTime? modified
        {
            set { _modified = value; }
            get { return _modified; }
        }
        /// <summary>
        /// Jdp用来做数据校验的字段
        /// </summary>
        public string jdp_hashcode
        {
            set { _jdp_hashcode = value; }
            get { return _jdp_hashcode; }
        }
        /// <summary>
        /// API返回的整个JSON字符串，格式和API保持一致
        /// </summary>
        public string jdp_response
        {
            set { _jdp_response = value; }
            get { return _jdp_response; }
        }
        /// <summary>
        /// 数据推送的创建时间
        /// </summary>
        public DateTime? jdp_created
        {
            set { _jdp_created = value; }
            get { return _jdp_created; }
        }
        /// <summary>
        /// 数据推送的修改时间
        /// </summary>
        public DateTime? jdp_modified
        {
            set { _jdp_modified = value; }
            get { return _jdp_modified; }
        }
        #endregion Model
    }
}
